﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RedDragon.Common.Dtos
{
    /// <summary>
    /// 物料清单dto
    /// </summary>
    public class BOMDto
    {
        /// <summary>
        /// 物料清单ID
        /// </summary>
        public int BoMInformId { get; set; }
        /// <summary>
        /// 物料清单编码
        /// </summary>
        public string? BoMInformCode { get; set; }
        /// <summary>
        /// 物料名称
        /// </summary>
        public string? MaterialName { get; set; }
        /// <summary>
        /// 物料清单版本
        /// </summary>
        public string? BoMInformVersion { get; set; }
        /// <summary>
        /// 物料管理ID
        /// </summary>
        public int MaterialId { get; set; }
        /// <summary>
        /// 物料编码
        /// </summary>
        public string? MaterialCode { get; set; }
        /// <summary>
        /// 物料清单描述
        /// </summary>
        public string? BoMInformDec { get; set; }
        /// <summary>
        /// 物料单位名称
        /// </summary>
        public string? MaterialUnitName { get; set; }
        /// <summary>
        /// 规格
        /// </summary>
        public string? Specifications { get; set; }
        /// <summary>
        /// 规格单位名称
        /// </summary>
        public string? SpecificationUnitName { get; set; }
        /// <summary>
        /// 部门ID(序号)
        /// </summary>
        public int DepartmentId { get; set; }
        /// <summary>
        /// 部门名称
        /// </summary>
        public string? DepartmentName { get; set; }
        /// <summary>
        /// 状态 1-有效；2-无效
        /// </summary>
        public int IsStatus { get; set; }
        /// <summary>
        /// 是否删除 1-未删除；2-删除
        /// </summary>
        public int IsDel { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreatedOwner { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreatedTime { get; set; }
    }
}
